import config from '@/config';
var request = window.axios;

//console.log("http", config)


export const postUpload = (data) => request({
    url: config.http + '/yunyiUpload/put-file',
    method: 'post',
    data: data
})

export const getWord = (data) => request({
    responseType: 'blob', // 重点，responseType设置为 blob
    url: config.http + '/word',
    method:'post',
    data: data
})